package com.teacher.pojo.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author zfm
 * @since 2021-06-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "PerTeacher对象", description = "")
public class PerTeacher extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "老师姓名")
    private String name;

    @ApiModelProperty(value = "老师学号")
    private String teacherKey;

    @ApiModelProperty(value = "学院id")
    private Long collegeId;

    @ApiModelProperty(value = "微信ID")
    private Long weUserId;

    @ApiModelProperty(value = "权限信息")
    private String permissionInfo;

    @ApiModelProperty(value = "上级部门信息")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long upperDept;

    private String email;

    private String mobile;

    private String sex;

    private String password;


}
